﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/MasterPage/MasterPage.Master"
    AutoEventWireup="true" CodeBehind="AgregarSalon.aspx.cs" Inherits="vudu.Presentacion.Vista.VU_01_Gestionar_Salones.AgregarSalon" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style13
        {
            width: 95px;
        }
        .style16
        {
            width: 39px;
            text-align: center;
        }
        .style17
        {
            width: 260px;
        }
        .style23
        {
            width: 200px;
            height: 50px;
        }
        .style24
        {
            width: 215px;
            height: 50px;
        }
        .style25
        {
            width: 241px;
            height: 50px;
        }
        .style26
        {
            width: 958px;
            text-align: center;
            font-size: 12px;
            height: 26px;
        }
        .style27
        {
            width: 336px;
            height: 2px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table style="border-style: solid; border-width: 1px; width: 100%;">
        <tr>
            <td>
                <table style="width: 100%">
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td align="right" colspan="2">
                            <asp:Label ID="InformacionUsuario" runat="server" Text="" CssClass="migaActual"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 250px">
                            &nbsp;
                        </td>
                        <td style="width: 350px" align="center">
                            <h2 class="tituloGeneral" >
                                Agregar Salon</h2>
                        </td>
                        <td style="width: 250px">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 250px">
                        </td>
                        <td style="width: 350px" align="center">
                            <asp:Label ID="Label1" runat="server" CssClass="transaccionFallida"></asp:Label>
                        </td>
                        <td style="width: 250px">
                            <br />
                        </td>
                    </tr>
                </table>
                <fieldset>
                    <legend>Informacion de salon&nbsp;</legend>
                    <table style="width: 50%" align ="center">
                        <tr>
                           
                            <td class="style23">
                                <span style="color: red">*</span>
                                <asp:Label ID="LabelNombre" runat="server" Text="Nombre"></asp:Label>
                            </td>
                            <td class="style27">
                                <asp:TextBox ID="Nombre" ValidationGroup="a" runat="server" Width="224px" MaxLength="20"></asp:TextBox>
                                 <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="Nombre" 
                    ValidChars="qwertyuiopasdfghjklñzxcvbnmQWERTYUIOPASDFGHJKLÑZXCVBNMÁÉÍÓÚáéíóú0123456789  "> </asp:FilteredTextBoxExtender>
                                    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" >
                </asp:ToolkitScriptManager>
                            </td>
                            
                        </tr>
                        <tr>
                            
                            <td class="style23">
                                <span style="color: red">* </span>
                                <asp:Label ID="LabelEdificio" runat="server" Text="Edificio"></asp:Label>
                            </td>
                            <td class="style27">
                                <asp:DropDownList ID="EdificioT" ValidationGroup="a" runat="server" Width="228px"
                                    Style="margin-left: 0px" Height="22px">
                                    <asp:ListItem>- Selecciona -</asp:ListItem>
                                    <asp:ListItem>Estandard</asp:ListItem>
                                    <asp:ListItem>Laboratorio</asp:ListItem>
                                    <asp:ListItem>Auditorio</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        
                        </tr>
                        <tr>
                          
                            <td class="style23">
                                <span style="color: red">* </span>
                                <asp:Label ID="LabelCapacidad" runat="server" Text="Capacidad"></asp:Label>
                                <asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" TargetControlID="Capacidad" 
                    ValidChars="0123456789"> </asp:FilteredTextBoxExtender>
                                    
                            </td>
                            <td class="style27">
                                <asp:TextBox ID="Capacidad" ValidationGroup="a" runat="server" Width="224px" MaxLength="3"></asp:TextBox>
                                &nbsp;<br />
                            </td>
                           <td>Capacidad Maxima 150</td>
                        </tr>
                        <tr>
                       
                            <td class="style23">
                                <span style="color: red">* </span>
                                <asp:Label ID="LabelTipo" runat="server" Text="Tipo"></asp:Label>
                            </td>
                            <td class="style27">
                                <asp:DropDownList ValidationGroup="a" ID="Tipo" runat="server" Height="22px" Width="228px"
                                    CausesValidation="True">
                                    <asp:ListItem>- Selecciona -</asp:ListItem>
                                    <asp:ListItem>Salon</asp:ListItem>
                                    <asp:ListItem>Laboratorio</asp:ListItem>
                                    <asp:ListItem>Auditorio</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                          
                        </tr>
                    </table>
                    <br />
                </fieldset>
                <p align="center">
                    <table style="width: 100%;">
                        <tr>
                            <td class="style26" align="center">
                                <asp:Button ID="Button2" CssClass="boton" runat="server" Text="Aceptar" OnClick="Button2Click"
                                    OnClientClick="return confirm('¿Está seguro que desea agregar este Salon?')"
                                    CausesValidation="True" />
                            </td>
                        </tr>
                    </table>
                </p>
            </td>
        </tr>
    </table>
</asp:Content>
